package com.example.makerspace.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.Date;

@TableName(value = "t_competition_change_record", autoResultMap = true)
@Data
public class CompetitionChangeRecordDO extends  BaseDO{
    @Field(name = "username", type = FieldType.Text)
    private  String username;
    @Field(name = "competition_id", type = FieldType.Text)
    private  Integer competitionId;
    @Field(name = "operate", type = FieldType.Text)
    private  String operate;
    @Field(name = "state", type = FieldType.Text)
    private  String state;
}
